<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>兑换</title>
<meta name="decorator" content="default" />
<meta name="full-screen" content="yes">
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">

<%@ include file="/static/member/themes/ShiShangHong/header.jsp"%>

</head>
<body>
	<%@ include file="./header.jsp"%>
	<div class="main">
		<form method="post" action="${ctx}/member/signup/${uid}"
			onsubmit=" return checkForm();">
			<input type="hidden" name="topage" value="${topage }" /> <input
				type="hidden" name="wid" value="${wechatId }" /> <input
				type="hidden" name="uid" value="${uid }" />
			<div class="p_mod o_address">
				<h2 class="p_mod_title">我的奖品</h2>
				<div id="city">


					

						<c:if test="${ prizelist != null }">
						<table    border="1" cellpadding="3" cellspacing="0" style="width: 60%;margin:auto">
						<tr>
										<td>奖品名称</td>&nbsp;&nbsp;
										<td>状态</td>&nbsp;&nbsp;
										<td>失效时间</td>
									</tr>
							<c:forEach items="${ prizelist}" var="prize" varStatus="i">

							

							
									<tr>
										<td><c:out value="${prize.name} ">
											</c:out></td>
										<td><c:if test="${prize.status==0}">
												<c:out value="未使用"></c:out>
											</c:if> <c:if test="${prize.status==1}">
												<c:out value="已使用 "></c:out>
											</c:if> <c:if test="${prize.status==2}">
												<c:out value="作废"></c:out>
											</c:if> <c:if test="${prize.status==3}">
												<c:out value="过期作废"></c:out>
											</c:if> 
											</td>
										<td><fmt:formatDate value="${prize.end_time}"pattern="yyyy年MM月dd日 "/>
											</td>
									</tr>
								
							</c:forEach>
							</table>
						</c:if>
						
						<c:if test="${ prizelist == null }">
						
						您没有奖品信息
						</c:if>
					
				</div>
			</div>
			<div class="o_btn clearfix">
				<div class="control-group">
					<div class="controls" align="left">
						<!-- 广告 -->
					</div>
				</div>
			</div>
		</form>



	</div>
	<c:if test="${uid ne '34' }">
		<jsp:include page="/static/member/themes/default/footer.jsp">
			<jsp:param value="${uid }" name="uid" />
		</jsp:include>
	</c:if>
</body>
</html>
